package com.ruoyi.cm.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开工预付款业务对象 cm_bs_start_advance
 *
 * @author zyb
 * @date 2024-09-28
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CmBsStartAdvanceBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    //开工预付款id集合
    private List<Long> ids;

    /**
     * 所属标段id
     */
    @NotNull(message = "所属标段id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long bdId;

    /**
     * 所属站点id
     */
    private Long zdId;

    /**
     * 期数id
     */
    private Long qsId;

    private Integer qs;

    /**
     * 合同金额
     */
    //@NotNull(message = "合同金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal htje;

    /**
     * 开工预付款金额
     */
    //@NotNull(message = "开工预付款金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal kgyfkjr;

    /**
     * 占比
     */
    //@NotNull(message = "占比不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal zb;

    /**
     * 扣除奖励基金
     */
    //@NotNull(message = "扣除奖励基金不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal kcjljj;

    /**
     * 上报标识
     */
    //@NotBlank(message = "上报标识不能为空", groups = { AddGroup.class, EditGroup.class })
    private String reportFlag;

    /**
     * 备注
     */
    //NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    //站点名称；
    private String zdName;

    /**
     * 排序
     */
    @NotNull(message = "排序不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sort;


}
